package com.lhz.project.system.model.vo.task;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author: LiHuaZhi
 * @Date: 2021/6/5 11:38
 * @Description:
 **/
@Data
public class TaskVo {

    //任务名
    @Schema(description = "任务名")
    private String name;

    @Schema(description = "目标字符串")
    private String invokeTarget;

    /**
     * 任务所需的参数，格式为json，每个任务方法中自行解析
     */
    @Schema(description = "目标字符串")
    private String invokeParams;

    @Schema(description = "表达式")
    private String cronExpression;


    //执行情况(1-执行中,2-已暂停)
    @Schema(description = "执行情况(1-执行中,2-已暂停)")
    private Integer situation;

    @Schema(description = "下次执行时间")
    private List<String> next;
}
